print("输入一个年份")
num = int(input())
if num % 4 == 0 and num % 100 != 0 or num % 400 == 0:
    print("闰年")
else:
    print("平年")
